//
//  LSZLiteratureClassificationManager.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/8/25.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZLiteratureClassificationManager.h"

@implementation LSZLiteratureClassificationManager
-(id)initWithLiteratureClass :(NSArray *)array
{
    self = [super init];
    if (self) {
        self.mutMgArray  = [[NSMutableArray alloc]init];
        self.mutNameArray = [[NSMutableArray alloc]init];
        NSMutableArray * arrayMut = [[NSMutableArray alloc]init];
        NSMutableArray * arrayMutName = [[NSMutableArray alloc]init];
        for (NSDictionary * diction in array) {
            LSZLiteratureClassificationMg * mg = [[LSZLiteratureClassificationMg alloc]init];
            mg.id_id = NullStringjudgment(NSStr(diction[@"id"]));
            mg.sortIndex = NullStringjudgment(NSStr(diction[@"sortIndex"]));
            mg.name = NullStringjudgment(NSStr(diction[@"name"]));
            mg.coverUrl = NullStringjudgment(NSStr(diction[@"coverUrl"]));
            [arrayMutName addObject:mg.name];
            [arrayMut addObject:mg];
        }
        self.mutMgArray = arrayMut;
        self.mutNameArray = arrayMutName;
    }
    return self;
}
@end
@implementation   LSZLiteratureClassificationMg

@end
